package com.health.db.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserRoleExample  extends UserRole{
    /**
	 * 
	 */
	private static final long serialVersionUID = -5826398707686065468L;

	protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserRoleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRecidIsNull() {
            addCriterion("RecID is null");
            return (Criteria) this;
        }

        public Criteria andRecidIsNotNull() {
            addCriterion("RecID is not null");
            return (Criteria) this;
        }

        public Criteria andRecidEqualTo(Long value) {
            addCriterion("RecID =", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidNotEqualTo(Long value) {
            addCriterion("RecID <>", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidGreaterThan(Long value) {
            addCriterion("RecID >", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidGreaterThanOrEqualTo(Long value) {
            addCriterion("RecID >=", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidLessThan(Long value) {
            addCriterion("RecID <", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidLessThanOrEqualTo(Long value) {
            addCriterion("RecID <=", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidIn(List<Long> values) {
            addCriterion("RecID in", values, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidNotIn(List<Long> values) {
            addCriterion("RecID not in", values, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidBetween(Long value1, Long value2) {
            addCriterion("RecID between", value1, value2, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidNotBetween(Long value1, Long value2) {
            addCriterion("RecID not between", value1, value2, "recid");
            return (Criteria) this;
        }

        public Criteria andSystemidIsNull() {
            addCriterion("SystemID is null");
            return (Criteria) this;
        }

        public Criteria andSystemidIsNotNull() {
            addCriterion("SystemID is not null");
            return (Criteria) this;
        }

        public Criteria andSystemidEqualTo(Integer value) {
            addCriterion("SystemID =", value, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidNotEqualTo(Integer value) {
            addCriterion("SystemID <>", value, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidGreaterThan(Integer value) {
            addCriterion("SystemID >", value, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidGreaterThanOrEqualTo(Integer value) {
            addCriterion("SystemID >=", value, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidLessThan(Integer value) {
            addCriterion("SystemID <", value, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidLessThanOrEqualTo(Integer value) {
            addCriterion("SystemID <=", value, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidIn(List<Integer> values) {
            addCriterion("SystemID in", values, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidNotIn(List<Integer> values) {
            addCriterion("SystemID not in", values, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidBetween(Integer value1, Integer value2) {
            addCriterion("SystemID between", value1, value2, "systemid");
            return (Criteria) this;
        }

        public Criteria andSystemidNotBetween(Integer value1, Integer value2) {
            addCriterion("SystemID not between", value1, value2, "systemid");
            return (Criteria) this;
        }

        public Criteria andRunFlagIsNull() {
            addCriterion("run_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andRunFlagIsNotNull() {
            addCriterion("run_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andRunFlagEqualTo(Short value) {
            addCriterion("run_FLAG =", value, "runFlag");
            return (Criteria) this;
        }

        public Criteria andRunFlagNotEqualTo(Short value) {
            addCriterion("run_FLAG <>", value, "runFlag");
            return (Criteria) this;
        }

        public Criteria andRunFlagGreaterThan(Short value) {
            addCriterion("run_FLAG >", value, "runFlag");
            return (Criteria) this;
        }

        public Criteria andRunFlagGreaterThanOrEqualTo(Short value) {
            addCriterion("run_FLAG >=", value, "runFlag");
            return (Criteria) this;
        }

        public Criteria andRunFlagLessThan(Short value) {
            addCriterion("run_FLAG <", value, "runFlag");
            return (Criteria) this;
        }

        public Criteria andRunFlagLessThanOrEqualTo(Short value) {
            addCriterion("run_FLAG <=", value, "runFlag");
            return (Criteria) this;
        }

        public Criteria andRunFlagIn(List<Short> values) {
            addCriterion("run_FLAG in", values, "runFlag");
            return (Criteria) this;
        }

        public Criteria andRunFlagNotIn(List<Short> values) {
            addCriterion("run_FLAG not in", values, "runFlag");
            return (Criteria) this;
        }

        public Criteria andRunFlagBetween(Short value1, Short value2) {
            addCriterion("run_FLAG between", value1, value2, "runFlag");
            return (Criteria) this;
        }

        public Criteria andRunFlagNotBetween(Short value1, Short value2) {
            addCriterion("run_FLAG not between", value1, value2, "runFlag");
            return (Criteria) this;
        }

        public Criteria andUserroleidIsNull() {
            addCriterion("UserRoleID is null");
            return (Criteria) this;
        }

        public Criteria andUserroleidIsNotNull() {
            addCriterion("UserRoleID is not null");
            return (Criteria) this;
        }

        public Criteria andUserroleidEqualTo(Long value) {
            addCriterion("UserRoleID =", value, "userroleid");
            return (Criteria) this;
        }

        public Criteria andUserroleidNotEqualTo(Long value) {
            addCriterion("UserRoleID <>", value, "userroleid");
            return (Criteria) this;
        }

        public Criteria andUserroleidGreaterThan(Long value) {
            addCriterion("UserRoleID >", value, "userroleid");
            return (Criteria) this;
        }

        public Criteria andUserroleidGreaterThanOrEqualTo(Long value) {
            addCriterion("UserRoleID >=", value, "userroleid");
            return (Criteria) this;
        }

        public Criteria andUserroleidLessThan(Long value) {
            addCriterion("UserRoleID <", value, "userroleid");
            return (Criteria) this;
        }

        public Criteria andUserroleidLessThanOrEqualTo(Long value) {
            addCriterion("UserRoleID <=", value, "userroleid");
            return (Criteria) this;
        }

        public Criteria andUserroleidIn(List<Long> values) {
            addCriterion("UserRoleID in", values, "userroleid");
            return (Criteria) this;
        }

        public Criteria andUserroleidNotIn(List<Long> values) {
            addCriterion("UserRoleID not in", values, "userroleid");
            return (Criteria) this;
        }

        public Criteria andUserroleidBetween(Long value1, Long value2) {
            addCriterion("UserRoleID between", value1, value2, "userroleid");
            return (Criteria) this;
        }

        public Criteria andUserroleidNotBetween(Long value1, Long value2) {
            addCriterion("UserRoleID not between", value1, value2, "userroleid");
            return (Criteria) this;
        }

        public Criteria andUserRoleNoIsNull() {
            addCriterion("user_Role_NO is null");
            return (Criteria) this;
        }

        public Criteria andUserRoleNoIsNotNull() {
            addCriterion("user_Role_NO is not null");
            return (Criteria) this;
        }

        public Criteria andUserRoleNoEqualTo(String value) {
            addCriterion("user_Role_NO =", value, "userRoleNo");
            return (Criteria) this;
        }

        public Criteria andUserRoleNoNotEqualTo(String value) {
            addCriterion("user_Role_NO <>", value, "userRoleNo");
            return (Criteria) this;
        }

        public Criteria andUserRoleNoGreaterThan(String value) {
            addCriterion("user_Role_NO >", value, "userRoleNo");
            return (Criteria) this;
        }

        public Criteria andUserRoleNoGreaterThanOrEqualTo(String value) {
            addCriterion("user_Role_NO >=", value, "userRoleNo");
            return (Criteria) this;
        }

        public Criteria andUserRoleNoLessThan(String value) {
            addCriterion("user_Role_NO <", value, "userRoleNo");
            return (Criteria) this;
        }

        public Criteria andUserRoleNoLessThanOrEqualTo(String value) {
            addCriterion("user_Role_NO <=", value, "userRoleNo");
            return (Criteria) this;
        }

        public Criteria andUserRoleNoLike(String value) {
            addCriterion("user_Role_NO like", value, "userRoleNo");
            return (Criteria) this;
        }

        public Criteria andUserRoleNoNotLike(String value) {
            addCriterion("user_Role_NO not like", value, "userRoleNo");
            return (Criteria) this;
        }

        public Criteria andUserRoleNoIn(List<String> values) {
            addCriterion("user_Role_NO in", values, "userRoleNo");
            return (Criteria) this;
        }

        public Criteria andUserRoleNoNotIn(List<String> values) {
            addCriterion("user_Role_NO not in", values, "userRoleNo");
            return (Criteria) this;
        }

        public Criteria andUserRoleNoBetween(String value1, String value2) {
            addCriterion("user_Role_NO between", value1, value2, "userRoleNo");
            return (Criteria) this;
        }

        public Criteria andUserRoleNoNotBetween(String value1, String value2) {
            addCriterion("user_Role_NO not between", value1, value2, "userRoleNo");
            return (Criteria) this;
        }

        public Criteria andUserRoleNameIsNull() {
            addCriterion("user_Role_NAME is null");
            return (Criteria) this;
        }

        public Criteria andUserRoleNameIsNotNull() {
            addCriterion("user_Role_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andUserRoleNameEqualTo(String value) {
            addCriterion("user_Role_NAME =", value, "userRoleName");
            return (Criteria) this;
        }

        public Criteria andUserRoleNameNotEqualTo(String value) {
            addCriterion("user_Role_NAME <>", value, "userRoleName");
            return (Criteria) this;
        }

        public Criteria andUserRoleNameGreaterThan(String value) {
            addCriterion("user_Role_NAME >", value, "userRoleName");
            return (Criteria) this;
        }

        public Criteria andUserRoleNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_Role_NAME >=", value, "userRoleName");
            return (Criteria) this;
        }

        public Criteria andUserRoleNameLessThan(String value) {
            addCriterion("user_Role_NAME <", value, "userRoleName");
            return (Criteria) this;
        }

        public Criteria andUserRoleNameLessThanOrEqualTo(String value) {
            addCriterion("user_Role_NAME <=", value, "userRoleName");
            return (Criteria) this;
        }

        public Criteria andUserRoleNameLike(String value) {
            addCriterion("user_Role_NAME like", value, "userRoleName");
            return (Criteria) this;
        }

        public Criteria andUserRoleNameNotLike(String value) {
            addCriterion("user_Role_NAME not like", value, "userRoleName");
            return (Criteria) this;
        }

        public Criteria andUserRoleNameIn(List<String> values) {
            addCriterion("user_Role_NAME in", values, "userRoleName");
            return (Criteria) this;
        }

        public Criteria andUserRoleNameNotIn(List<String> values) {
            addCriterion("user_Role_NAME not in", values, "userRoleName");
            return (Criteria) this;
        }

        public Criteria andUserRoleNameBetween(String value1, String value2) {
            addCriterion("user_Role_NAME between", value1, value2, "userRoleName");
            return (Criteria) this;
        }

        public Criteria andUserRoleNameNotBetween(String value1, String value2) {
            addCriterion("user_Role_NAME not between", value1, value2, "userRoleName");
            return (Criteria) this;
        }

        public Criteria andUserRoleDescIsNull() {
            addCriterion("user_Role_DESC is null");
            return (Criteria) this;
        }

        public Criteria andUserRoleDescIsNotNull() {
            addCriterion("user_Role_DESC is not null");
            return (Criteria) this;
        }

        public Criteria andUserRoleDescEqualTo(String value) {
            addCriterion("user_Role_DESC =", value, "userRoleDesc");
            return (Criteria) this;
        }

        public Criteria andUserRoleDescNotEqualTo(String value) {
            addCriterion("user_Role_DESC <>", value, "userRoleDesc");
            return (Criteria) this;
        }

        public Criteria andUserRoleDescGreaterThan(String value) {
            addCriterion("user_Role_DESC >", value, "userRoleDesc");
            return (Criteria) this;
        }

        public Criteria andUserRoleDescGreaterThanOrEqualTo(String value) {
            addCriterion("user_Role_DESC >=", value, "userRoleDesc");
            return (Criteria) this;
        }

        public Criteria andUserRoleDescLessThan(String value) {
            addCriterion("user_Role_DESC <", value, "userRoleDesc");
            return (Criteria) this;
        }

        public Criteria andUserRoleDescLessThanOrEqualTo(String value) {
            addCriterion("user_Role_DESC <=", value, "userRoleDesc");
            return (Criteria) this;
        }

        public Criteria andUserRoleDescLike(String value) {
            addCriterion("user_Role_DESC like", value, "userRoleDesc");
            return (Criteria) this;
        }

        public Criteria andUserRoleDescNotLike(String value) {
            addCriterion("user_Role_DESC not like", value, "userRoleDesc");
            return (Criteria) this;
        }

        public Criteria andUserRoleDescIn(List<String> values) {
            addCriterion("user_Role_DESC in", values, "userRoleDesc");
            return (Criteria) this;
        }

        public Criteria andUserRoleDescNotIn(List<String> values) {
            addCriterion("user_Role_DESC not in", values, "userRoleDesc");
            return (Criteria) this;
        }

        public Criteria andUserRoleDescBetween(String value1, String value2) {
            addCriterion("user_Role_DESC between", value1, value2, "userRoleDesc");
            return (Criteria) this;
        }

        public Criteria andUserRoleDescNotBetween(String value1, String value2) {
            addCriterion("user_Role_DESC not between", value1, value2, "userRoleDesc");
            return (Criteria) this;
        }

        public Criteria andEntityidIsNull() {
            addCriterion("EntityID is null");
            return (Criteria) this;
        }

        public Criteria andEntityidIsNotNull() {
            addCriterion("EntityID is not null");
            return (Criteria) this;
        }

        public Criteria andEntityidEqualTo(Long value) {
            addCriterion("EntityID =", value, "entityid");
            return (Criteria) this;
        }

        public Criteria andEntityidNotEqualTo(Long value) {
            addCriterion("EntityID <>", value, "entityid");
            return (Criteria) this;
        }

        public Criteria andEntityidGreaterThan(Long value) {
            addCriterion("EntityID >", value, "entityid");
            return (Criteria) this;
        }

        public Criteria andEntityidGreaterThanOrEqualTo(Long value) {
            addCriterion("EntityID >=", value, "entityid");
            return (Criteria) this;
        }

        public Criteria andEntityidLessThan(Long value) {
            addCriterion("EntityID <", value, "entityid");
            return (Criteria) this;
        }

        public Criteria andEntityidLessThanOrEqualTo(Long value) {
            addCriterion("EntityID <=", value, "entityid");
            return (Criteria) this;
        }

        public Criteria andEntityidIn(List<Long> values) {
            addCriterion("EntityID in", values, "entityid");
            return (Criteria) this;
        }

        public Criteria andEntityidNotIn(List<Long> values) {
            addCriterion("EntityID not in", values, "entityid");
            return (Criteria) this;
        }

        public Criteria andEntityidBetween(Long value1, Long value2) {
            addCriterion("EntityID between", value1, value2, "entityid");
            return (Criteria) this;
        }

        public Criteria andEntityidNotBetween(Long value1, Long value2) {
            addCriterion("EntityID not between", value1, value2, "entityid");
            return (Criteria) this;
        }

        public Criteria andEntityNameIsNull() {
            addCriterion("Entity_NAME is null");
            return (Criteria) this;
        }

        public Criteria andEntityNameIsNotNull() {
            addCriterion("Entity_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andEntityNameEqualTo(String value) {
            addCriterion("Entity_NAME =", value, "entityName");
            return (Criteria) this;
        }

        public Criteria andEntityNameNotEqualTo(String value) {
            addCriterion("Entity_NAME <>", value, "entityName");
            return (Criteria) this;
        }

        public Criteria andEntityNameGreaterThan(String value) {
            addCriterion("Entity_NAME >", value, "entityName");
            return (Criteria) this;
        }

        public Criteria andEntityNameGreaterThanOrEqualTo(String value) {
            addCriterion("Entity_NAME >=", value, "entityName");
            return (Criteria) this;
        }

        public Criteria andEntityNameLessThan(String value) {
            addCriterion("Entity_NAME <", value, "entityName");
            return (Criteria) this;
        }

        public Criteria andEntityNameLessThanOrEqualTo(String value) {
            addCriterion("Entity_NAME <=", value, "entityName");
            return (Criteria) this;
        }

        public Criteria andEntityNameLike(String value) {
            addCriterion("Entity_NAME like", value, "entityName");
            return (Criteria) this;
        }

        public Criteria andEntityNameNotLike(String value) {
            addCriterion("Entity_NAME not like", value, "entityName");
            return (Criteria) this;
        }

        public Criteria andEntityNameIn(List<String> values) {
            addCriterion("Entity_NAME in", values, "entityName");
            return (Criteria) this;
        }

        public Criteria andEntityNameNotIn(List<String> values) {
            addCriterion("Entity_NAME not in", values, "entityName");
            return (Criteria) this;
        }

        public Criteria andEntityNameBetween(String value1, String value2) {
            addCriterion("Entity_NAME between", value1, value2, "entityName");
            return (Criteria) this;
        }

        public Criteria andEntityNameNotBetween(String value1, String value2) {
            addCriterion("Entity_NAME not between", value1, value2, "entityName");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagIsNull() {
            addCriterion("is_Used_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagIsNotNull() {
            addCriterion("is_Used_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagEqualTo(Short value) {
            addCriterion("is_Used_FLAG =", value, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagNotEqualTo(Short value) {
            addCriterion("is_Used_FLAG <>", value, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagGreaterThan(Short value) {
            addCriterion("is_Used_FLAG >", value, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagGreaterThanOrEqualTo(Short value) {
            addCriterion("is_Used_FLAG >=", value, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagLessThan(Short value) {
            addCriterion("is_Used_FLAG <", value, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagLessThanOrEqualTo(Short value) {
            addCriterion("is_Used_FLAG <=", value, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagIn(List<Short> values) {
            addCriterion("is_Used_FLAG in", values, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagNotIn(List<Short> values) {
            addCriterion("is_Used_FLAG not in", values, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagBetween(Short value1, Short value2) {
            addCriterion("is_Used_FLAG between", value1, value2, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsUsedFlagNotBetween(Short value1, Short value2) {
            addCriterion("is_Used_FLAG not between", value1, value2, "isUsedFlag");
            return (Criteria) this;
        }

        public Criteria andIsRegisterEntityFlagIsNull() {
            addCriterion("is_Register_Entity_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andIsRegisterEntityFlagIsNotNull() {
            addCriterion("is_Register_Entity_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andIsRegisterEntityFlagEqualTo(Short value) {
            addCriterion("is_Register_Entity_FLAG =", value, "isRegisterEntityFlag");
            return (Criteria) this;
        }

        public Criteria andIsRegisterEntityFlagNotEqualTo(Short value) {
            addCriterion("is_Register_Entity_FLAG <>", value, "isRegisterEntityFlag");
            return (Criteria) this;
        }

        public Criteria andIsRegisterEntityFlagGreaterThan(Short value) {
            addCriterion("is_Register_Entity_FLAG >", value, "isRegisterEntityFlag");
            return (Criteria) this;
        }

        public Criteria andIsRegisterEntityFlagGreaterThanOrEqualTo(Short value) {
            addCriterion("is_Register_Entity_FLAG >=", value, "isRegisterEntityFlag");
            return (Criteria) this;
        }

        public Criteria andIsRegisterEntityFlagLessThan(Short value) {
            addCriterion("is_Register_Entity_FLAG <", value, "isRegisterEntityFlag");
            return (Criteria) this;
        }

        public Criteria andIsRegisterEntityFlagLessThanOrEqualTo(Short value) {
            addCriterion("is_Register_Entity_FLAG <=", value, "isRegisterEntityFlag");
            return (Criteria) this;
        }

        public Criteria andIsRegisterEntityFlagIn(List<Short> values) {
            addCriterion("is_Register_Entity_FLAG in", values, "isRegisterEntityFlag");
            return (Criteria) this;
        }

        public Criteria andIsRegisterEntityFlagNotIn(List<Short> values) {
            addCriterion("is_Register_Entity_FLAG not in", values, "isRegisterEntityFlag");
            return (Criteria) this;
        }

        public Criteria andIsRegisterEntityFlagBetween(Short value1, Short value2) {
            addCriterion("is_Register_Entity_FLAG between", value1, value2, "isRegisterEntityFlag");
            return (Criteria) this;
        }

        public Criteria andIsRegisterEntityFlagNotBetween(Short value1, Short value2) {
            addCriterion("is_Register_Entity_FLAG not between", value1, value2, "isRegisterEntityFlag");
            return (Criteria) this;
        }

        public Criteria andIsLockFlagIsNull() {
            addCriterion("is_Lock_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andIsLockFlagIsNotNull() {
            addCriterion("is_Lock_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andIsLockFlagEqualTo(Short value) {
            addCriterion("is_Lock_FLAG =", value, "isLockFlag");
            return (Criteria) this;
        }

        public Criteria andIsLockFlagNotEqualTo(Short value) {
            addCriterion("is_Lock_FLAG <>", value, "isLockFlag");
            return (Criteria) this;
        }

        public Criteria andIsLockFlagGreaterThan(Short value) {
            addCriterion("is_Lock_FLAG >", value, "isLockFlag");
            return (Criteria) this;
        }

        public Criteria andIsLockFlagGreaterThanOrEqualTo(Short value) {
            addCriterion("is_Lock_FLAG >=", value, "isLockFlag");
            return (Criteria) this;
        }

        public Criteria andIsLockFlagLessThan(Short value) {
            addCriterion("is_Lock_FLAG <", value, "isLockFlag");
            return (Criteria) this;
        }

        public Criteria andIsLockFlagLessThanOrEqualTo(Short value) {
            addCriterion("is_Lock_FLAG <=", value, "isLockFlag");
            return (Criteria) this;
        }

        public Criteria andIsLockFlagIn(List<Short> values) {
            addCriterion("is_Lock_FLAG in", values, "isLockFlag");
            return (Criteria) this;
        }

        public Criteria andIsLockFlagNotIn(List<Short> values) {
            addCriterion("is_Lock_FLAG not in", values, "isLockFlag");
            return (Criteria) this;
        }

        public Criteria andIsLockFlagBetween(Short value1, Short value2) {
            addCriterion("is_Lock_FLAG between", value1, value2, "isLockFlag");
            return (Criteria) this;
        }

        public Criteria andIsLockFlagNotBetween(Short value1, Short value2) {
            addCriterion("is_Lock_FLAG not between", value1, value2, "isLockFlag");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("STATUS is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("STATUS =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("STATUS <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("STATUS >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("STATUS >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("STATUS <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("STATUS <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("STATUS like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("STATUS not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("STATUS in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("STATUS not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("STATUS between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("STATUS not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andNoteRemarkIsNull() {
            addCriterion("note_Remark is null");
            return (Criteria) this;
        }

        public Criteria andNoteRemarkIsNotNull() {
            addCriterion("note_Remark is not null");
            return (Criteria) this;
        }

        public Criteria andNoteRemarkEqualTo(String value) {
            addCriterion("note_Remark =", value, "noteRemark");
            return (Criteria) this;
        }

        public Criteria andNoteRemarkNotEqualTo(String value) {
            addCriterion("note_Remark <>", value, "noteRemark");
            return (Criteria) this;
        }

        public Criteria andNoteRemarkGreaterThan(String value) {
            addCriterion("note_Remark >", value, "noteRemark");
            return (Criteria) this;
        }

        public Criteria andNoteRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("note_Remark >=", value, "noteRemark");
            return (Criteria) this;
        }

        public Criteria andNoteRemarkLessThan(String value) {
            addCriterion("note_Remark <", value, "noteRemark");
            return (Criteria) this;
        }

        public Criteria andNoteRemarkLessThanOrEqualTo(String value) {
            addCriterion("note_Remark <=", value, "noteRemark");
            return (Criteria) this;
        }

        public Criteria andNoteRemarkLike(String value) {
            addCriterion("note_Remark like", value, "noteRemark");
            return (Criteria) this;
        }

        public Criteria andNoteRemarkNotLike(String value) {
            addCriterion("note_Remark not like", value, "noteRemark");
            return (Criteria) this;
        }

        public Criteria andNoteRemarkIn(List<String> values) {
            addCriterion("note_Remark in", values, "noteRemark");
            return (Criteria) this;
        }

        public Criteria andNoteRemarkNotIn(List<String> values) {
            addCriterion("note_Remark not in", values, "noteRemark");
            return (Criteria) this;
        }

        public Criteria andNoteRemarkBetween(String value1, String value2) {
            addCriterion("note_Remark between", value1, value2, "noteRemark");
            return (Criteria) this;
        }

        public Criteria andNoteRemarkNotBetween(String value1, String value2) {
            addCriterion("note_Remark not between", value1, value2, "noteRemark");
            return (Criteria) this;
        }

        public Criteria andSelectEntityWhereIsNull() {
            addCriterion("select_Entity_WHERE is null");
            return (Criteria) this;
        }

        public Criteria andSelectEntityWhereIsNotNull() {
            addCriterion("select_Entity_WHERE is not null");
            return (Criteria) this;
        }

        public Criteria andSelectEntityWhereEqualTo(String value) {
            addCriterion("select_Entity_WHERE =", value, "selectEntityWhere");
            return (Criteria) this;
        }

        public Criteria andSelectEntityWhereNotEqualTo(String value) {
            addCriterion("select_Entity_WHERE <>", value, "selectEntityWhere");
            return (Criteria) this;
        }

        public Criteria andSelectEntityWhereGreaterThan(String value) {
            addCriterion("select_Entity_WHERE >", value, "selectEntityWhere");
            return (Criteria) this;
        }

        public Criteria andSelectEntityWhereGreaterThanOrEqualTo(String value) {
            addCriterion("select_Entity_WHERE >=", value, "selectEntityWhere");
            return (Criteria) this;
        }

        public Criteria andSelectEntityWhereLessThan(String value) {
            addCriterion("select_Entity_WHERE <", value, "selectEntityWhere");
            return (Criteria) this;
        }

        public Criteria andSelectEntityWhereLessThanOrEqualTo(String value) {
            addCriterion("select_Entity_WHERE <=", value, "selectEntityWhere");
            return (Criteria) this;
        }

        public Criteria andSelectEntityWhereLike(String value) {
            addCriterion("select_Entity_WHERE like", value, "selectEntityWhere");
            return (Criteria) this;
        }

        public Criteria andSelectEntityWhereNotLike(String value) {
            addCriterion("select_Entity_WHERE not like", value, "selectEntityWhere");
            return (Criteria) this;
        }

        public Criteria andSelectEntityWhereIn(List<String> values) {
            addCriterion("select_Entity_WHERE in", values, "selectEntityWhere");
            return (Criteria) this;
        }

        public Criteria andSelectEntityWhereNotIn(List<String> values) {
            addCriterion("select_Entity_WHERE not in", values, "selectEntityWhere");
            return (Criteria) this;
        }

        public Criteria andSelectEntityWhereBetween(String value1, String value2) {
            addCriterion("select_Entity_WHERE between", value1, value2, "selectEntityWhere");
            return (Criteria) this;
        }

        public Criteria andSelectEntityWhereNotBetween(String value1, String value2) {
            addCriterion("select_Entity_WHERE not between", value1, value2, "selectEntityWhere");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_DATE is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_DATE =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_DATE <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_DATE >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_DATE >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_DATE <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_DATE <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_DATE in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_DATE not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_DATE between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_DATE not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateUseridIsNull() {
            addCriterion("create_UserID is null");
            return (Criteria) this;
        }

        public Criteria andCreateUseridIsNotNull() {
            addCriterion("create_UserID is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUseridEqualTo(Long value) {
            addCriterion("create_UserID =", value, "createUserid");
            return (Criteria) this;
        }

        public Criteria andCreateUseridNotEqualTo(Long value) {
            addCriterion("create_UserID <>", value, "createUserid");
            return (Criteria) this;
        }

        public Criteria andCreateUseridGreaterThan(Long value) {
            addCriterion("create_UserID >", value, "createUserid");
            return (Criteria) this;
        }

        public Criteria andCreateUseridGreaterThanOrEqualTo(Long value) {
            addCriterion("create_UserID >=", value, "createUserid");
            return (Criteria) this;
        }

        public Criteria andCreateUseridLessThan(Long value) {
            addCriterion("create_UserID <", value, "createUserid");
            return (Criteria) this;
        }

        public Criteria andCreateUseridLessThanOrEqualTo(Long value) {
            addCriterion("create_UserID <=", value, "createUserid");
            return (Criteria) this;
        }

        public Criteria andCreateUseridIn(List<Long> values) {
            addCriterion("create_UserID in", values, "createUserid");
            return (Criteria) this;
        }

        public Criteria andCreateUseridNotIn(List<Long> values) {
            addCriterion("create_UserID not in", values, "createUserid");
            return (Criteria) this;
        }

        public Criteria andCreateUseridBetween(Long value1, Long value2) {
            addCriterion("create_UserID between", value1, value2, "createUserid");
            return (Criteria) this;
        }

        public Criteria andCreateUseridNotBetween(Long value1, Long value2) {
            addCriterion("create_UserID not between", value1, value2, "createUserid");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameIsNull() {
            addCriterion("create_User_NAME is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameIsNotNull() {
            addCriterion("create_User_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameEqualTo(String value) {
            addCriterion("create_User_NAME =", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotEqualTo(String value) {
            addCriterion("create_User_NAME <>", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameGreaterThan(String value) {
            addCriterion("create_User_NAME >", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("create_User_NAME >=", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameLessThan(String value) {
            addCriterion("create_User_NAME <", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameLessThanOrEqualTo(String value) {
            addCriterion("create_User_NAME <=", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameLike(String value) {
            addCriterion("create_User_NAME like", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotLike(String value) {
            addCriterion("create_User_NAME not like", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameIn(List<String> values) {
            addCriterion("create_User_NAME in", values, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotIn(List<String> values) {
            addCriterion("create_User_NAME not in", values, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameBetween(String value1, String value2) {
            addCriterion("create_User_NAME between", value1, value2, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotBetween(String value1, String value2) {
            addCriterion("create_User_NAME not between", value1, value2, "createUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_DATE is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_DATE =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_DATE <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_DATE >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_DATE >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_DATE <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_DATE <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_DATE in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_DATE not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_DATE between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_DATE not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridIsNull() {
            addCriterion("update_UserID is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridIsNotNull() {
            addCriterion("update_UserID is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridEqualTo(Long value) {
            addCriterion("update_UserID =", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridNotEqualTo(Long value) {
            addCriterion("update_UserID <>", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridGreaterThan(Long value) {
            addCriterion("update_UserID >", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridGreaterThanOrEqualTo(Long value) {
            addCriterion("update_UserID >=", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridLessThan(Long value) {
            addCriterion("update_UserID <", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridLessThanOrEqualTo(Long value) {
            addCriterion("update_UserID <=", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridIn(List<Long> values) {
            addCriterion("update_UserID in", values, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridNotIn(List<Long> values) {
            addCriterion("update_UserID not in", values, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridBetween(Long value1, Long value2) {
            addCriterion("update_UserID between", value1, value2, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridNotBetween(Long value1, Long value2) {
            addCriterion("update_UserID not between", value1, value2, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameIsNull() {
            addCriterion("update_User_NAME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameIsNotNull() {
            addCriterion("update_User_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameEqualTo(String value) {
            addCriterion("update_User_NAME =", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotEqualTo(String value) {
            addCriterion("update_User_NAME <>", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameGreaterThan(String value) {
            addCriterion("update_User_NAME >", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("update_User_NAME >=", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameLessThan(String value) {
            addCriterion("update_User_NAME <", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameLessThanOrEqualTo(String value) {
            addCriterion("update_User_NAME <=", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameLike(String value) {
            addCriterion("update_User_NAME like", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotLike(String value) {
            addCriterion("update_User_NAME not like", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameIn(List<String> values) {
            addCriterion("update_User_NAME in", values, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotIn(List<String> values) {
            addCriterion("update_User_NAME not in", values, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameBetween(String value1, String value2) {
            addCriterion("update_User_NAME between", value1, value2, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotBetween(String value1, String value2) {
            addCriterion("update_User_NAME not between", value1, value2, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andSynchFlagIsNull() {
            addCriterion("synch_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andSynchFlagIsNotNull() {
            addCriterion("synch_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andSynchFlagEqualTo(Short value) {
            addCriterion("synch_FLAG =", value, "synchFlag");
            return (Criteria) this;
        }

        public Criteria andSynchFlagNotEqualTo(Short value) {
            addCriterion("synch_FLAG <>", value, "synchFlag");
            return (Criteria) this;
        }

        public Criteria andSynchFlagGreaterThan(Short value) {
            addCriterion("synch_FLAG >", value, "synchFlag");
            return (Criteria) this;
        }

        public Criteria andSynchFlagGreaterThanOrEqualTo(Short value) {
            addCriterion("synch_FLAG >=", value, "synchFlag");
            return (Criteria) this;
        }

        public Criteria andSynchFlagLessThan(Short value) {
            addCriterion("synch_FLAG <", value, "synchFlag");
            return (Criteria) this;
        }

        public Criteria andSynchFlagLessThanOrEqualTo(Short value) {
            addCriterion("synch_FLAG <=", value, "synchFlag");
            return (Criteria) this;
        }

        public Criteria andSynchFlagIn(List<Short> values) {
            addCriterion("synch_FLAG in", values, "synchFlag");
            return (Criteria) this;
        }

        public Criteria andSynchFlagNotIn(List<Short> values) {
            addCriterion("synch_FLAG not in", values, "synchFlag");
            return (Criteria) this;
        }

        public Criteria andSynchFlagBetween(Short value1, Short value2) {
            addCriterion("synch_FLAG between", value1, value2, "synchFlag");
            return (Criteria) this;
        }

        public Criteria andSynchFlagNotBetween(Short value1, Short value2) {
            addCriterion("synch_FLAG not between", value1, value2, "synchFlag");
            return (Criteria) this;
        }

        public Criteria andSynchDateIsNull() {
            addCriterion("synch_DATE is null");
            return (Criteria) this;
        }

        public Criteria andSynchDateIsNotNull() {
            addCriterion("synch_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andSynchDateEqualTo(Integer value) {
            addCriterion("synch_DATE =", value, "synchDate");
            return (Criteria) this;
        }

        public Criteria andSynchDateNotEqualTo(Integer value) {
            addCriterion("synch_DATE <>", value, "synchDate");
            return (Criteria) this;
        }

        public Criteria andSynchDateGreaterThan(Integer value) {
            addCriterion("synch_DATE >", value, "synchDate");
            return (Criteria) this;
        }

        public Criteria andSynchDateGreaterThanOrEqualTo(Integer value) {
            addCriterion("synch_DATE >=", value, "synchDate");
            return (Criteria) this;
        }

        public Criteria andSynchDateLessThan(Integer value) {
            addCriterion("synch_DATE <", value, "synchDate");
            return (Criteria) this;
        }

        public Criteria andSynchDateLessThanOrEqualTo(Integer value) {
            addCriterion("synch_DATE <=", value, "synchDate");
            return (Criteria) this;
        }

        public Criteria andSynchDateIn(List<Integer> values) {
            addCriterion("synch_DATE in", values, "synchDate");
            return (Criteria) this;
        }

        public Criteria andSynchDateNotIn(List<Integer> values) {
            addCriterion("synch_DATE not in", values, "synchDate");
            return (Criteria) this;
        }

        public Criteria andSynchDateBetween(Integer value1, Integer value2) {
            addCriterion("synch_DATE between", value1, value2, "synchDate");
            return (Criteria) this;
        }

        public Criteria andSynchDateNotBetween(Integer value1, Integer value2) {
            addCriterion("synch_DATE not between", value1, value2, "synchDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}